/* iGEM Paris Bettencourt 2015 style 
 * Design by Jérémy Ferrando & Ewen Corre
 * It's FREE! But you can send us beer at
 * beer@corre.bio :-) */


/* Title (FIY), only Home page*/
/* Home banner 
#homeBanner {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
    	background-image: url('../images/idli7_medium.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left;
	z-index: -10;
}*/

/*#homeBanner h1 {
	/* Position & size
	/*display: table-caption;
	position: relative;
	top: 100px;

	/* Block 
	background-color: rgba(0,0,0,0.5);
	padding: 20px;

	/* Style 
	color: white;
	font-size: 70px;
	/*font-family: 'AlexBrushRegular';
	font-family: 'GenomeThin';
	font-weight: 600;
	letter-spacing: 10px;
	text-shadow: 0px 0px 5px rgba(255,255,255,0.4);
}*/

/*#homeBanner h1 .letter {
	color: #F8E9B3;
}*/

  
/*#homeBanner h3 {
	position: absolute;
	top: 470px;
	float: right;

	background-color: rgba(0,0,0,0.5);
	padding: 10px 20px 10px 20px;

	color: white;
	font-size: 40px;
	font-family: 'GenomeThin';
	font-weight: 700;
	letter-spacing: 7px;
	text-align: right;
	text-shadow: 0px 0px 5px rgba(255,255,255,0.4);
}
#homeBanner img {
	display: block;
	width: 400px;	
	margin: auto;
	padding-top: 100px;
}*/

/* Project description */
/*#blockDescription {
        min-height: 200px;
        width: 100%;
}
#projDescription {
        background-color: black;
        float: left;
        width: 50%;
}
#projDescription p {
        color: white;
    	text-indent: 20px;
    	text-align: justify;
    	text-decoration: none;
        font-size: 24px;
        padding: 25px;
}*/


/* Tiles for subprojects */
/* Common stuff to make them responsive */
/*.tiles {
        float: left;
        position: relative;
        width: 16.6667%;
        overflow: hidden;
}
.tiles:before {
        content: "";
        display: block;
        padding-top: 100%;
}
.tileContent {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        color: red;
}
.tileContent p {
        display: table;
        width: 100%;
        height: 100%;
}
.tileContent span {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        color: white;
        font-size: 28px;
        padding: 10px;
}*/




/* Background of the page */
.contentContainer#home {
    	background-image: url('../images/idli7_medium.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left;
	background-attachment: fixed;
}

/* Banner (FIY logo and name of the team) */
#banner {
	height: 700px;
}
#banner h3 {
	display: block;
	position: absolute;
	top: 370px;
	right: 0;

	background-color: rgba(0,0,0,0.5);
	padding: 10px 20px 10px 20px;

	color: white;
	font-size: 40px;
	font-family: 'Generica';
	letter-spacing: 7px;
	text-shadow: 0px 0px 5px rgba(255,255,255,0.4);
}
#banner img {
	display: block;
	position: absolute;
	top: 200px;
	left: 10%;
	width: 400px;	
}



/* Text content */
#textContent {
	width: 100%;
	margin-bottom: 5px;
	background-color: white;
}


/* Motivation block */
#motivation {
	width: 100%;
	height: 200px;
	background-color: black;
	position: relative;
	background-image: url('../images/emptyPlateShade.jpg');
	background-size: 100%;
	border-top: 5px solid white;
}
#motivation h2 {
	color: white;
	font-size: 60px;
	text-align: center;
	position: absolute;
	top: 20px;
	left: 5%;
}


/* Description block */
#description {
	width: 100%;
	height: 300px;
	margin-top: 5px;
	background-color: black;
}


/* Overview block */
#overview {
	width: 50%;
	height: 100%;
	background-color: black;
	position: relative;
	float: left;
}
#overview h2 {
	color: white;
	font-size: 60px;
	text-align: center;
	position: absolute;
	top: 20px;
	left: 10%;
}


/* Subprojects block */
#subprojects {
	width:50%;
	float: right;
	height: 100%;
}
#subprojects a {
	color: white;
	text-decoration: none;
	font: Helvetica, Verdana, Arial;
	text-align: center;
	text-transform: uppercase;
	height: 100%;
	width: 100%;
	display: block;
	border: 1px solid green;
}

/* Each subproject */
#sub1,
#sub2,
#sub3,
#sub4,
#sub5,
#sub6 {
	height: 150px;
	width: 150px;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#sub1 {
	background-color: #00AEEF;
}
#sub2 {
	background-color: #ED028C;
}
#sub3 {
	background-color: #FFF101;
}
#sub4 {
	background-color: #00AEEF;
}
#sub5 {
	background-color: #ED028C;
}
#sub6 {
	background-color: #00AEEF;
}



/*#block4 {
        background-color: #00AEEF;
}
#block5 {
        background-color: #ED028C;
}
#block6 {
        background-color: #FFF101;
}*/



/* Very small screens: only one row */
@media all and (max-width: 480px) {

       #blockDescription {
               display: table;
               border: 1px solid red;
       }



}



/* Smartphones and screens < 768px */
@media only screen and (max-width: 640px),
only screen and (max-device-width: 640px) {
        /* Banner is smaller */
        #homeBanner {
                height: 300px;
        }
        #homeBanner h1 {
                font-size: 25px;
                top: 40px;
            	letter-spacing: 5px;
        }
        #homeBanner h3 {
                font-size: 20px;
                top: 70px;
            	letter-spacing: 5px;
        }
        #projDescription p {
                padding: 10px;
                font-size: 18px;
        }

}
